package name.jiaosha.air.install.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import com.ali8ba.Domain;

@Entity
@Table(name = "air_install_item")
public class InstallItem extends Domain {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1240599236164884379L;
	
	@Id()
	@Column(name = "id", unique = true, nullable = false, precision = 11)
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	@Column(name = "docID")
	private String docID;

	@Column(name = "name")
	private String name;
	
	@Column(name = "typeCode")
	private String typeCode;

	@Column(name = "inbarcode")
	private String inbarcode;

	@Column(name = "outbarcode")
	private String outbarcode;

	@Column(name = "amount")
	private int amount;

	@Column(name = "power")
	private String power;

	@Column(name = "serverType")
	private String serverType;

	public InstallItem() {

	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDocID() {
		return docID;
	}

	public void setDocID(String docID) {
		this.docID = docID;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getInbarcode() {
		return inbarcode;
	}

	public void setInbarcode(String inbarcode) {
		this.inbarcode = inbarcode;
	}

	public String getOutbarcode() {
		return outbarcode;
	}

	public void setOutbarcode(String outbarcode) {
		this.outbarcode = outbarcode;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public String getPower() {
		return power;
	}

	public void setPower(String power) {
		this.power = power;
	}

	public String getServerType() {
		return serverType;
	}

	public void setServerType(String serverType) {
		this.serverType = serverType;
	}

	public String getTypeCode() {
		return typeCode;
	}

	public void setTypeCode(String typeCode) {
		this.typeCode = typeCode;
	}

	
	
}
